def isNum(string) -> bool:
    try:
        eval(string)
        return True
    except:
        return False
    

print(isNum("1j"))